// load and store
load 0x0(%rd), %ra;
load 0x4(%rd), %rb;
irmov 0x40, %rd;
store %ra, 0x0(%rd);
store %rb, 0x4(%rd);

// jmp to a label
irmov 0x12345678, %ra;
irmov 0x50, %sp;
jmp label1;

// push and pop
push %ra;
label1:
push %ra;
call label2;
pop %rc;
halt;

// call and ret
label2:
add %ra, %rb;
ret;
